.touch-action(@active-bg-color, @hover-bg-color){
  &.active{
    background-color: @active-bg-color;
  }
  &:hover{
    background-color: @hover-bg-color;
  }
}

.list{
  width: 200px;
  .item{
    .touch-action(#ccc, #aaa)
  }
}